package com.example.app.ui.Message;
public class ChatMessage {
    public static final int TYPE_SENT = 1;
    public static final int TYPE_RECEIVED = 2;
    private int contentType;
    public static final int CONTENT_TEXT = 1;
    public static final int CONTENT_IMAGE = 2;
    private int messageType;
    private String content;
    private String sender;
    public ChatMessage(int messageType, int contentType, String content, String sender) {
        this.messageType = messageType;
        this.contentType = contentType;
        this.content = content;
        this.sender = sender;
    }
    public int getContentType() {
        return contentType;
    }
    public int getMessageType() { return messageType; }
    public String getContent() { return content; }
    public String getSender() { return sender; }
    public void setMessageType(int messageType) {
        this.messageType = messageType;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public void setSender(String sender) {
        this.sender = sender;
    }
}